//
//  DiscoverTopPageBar.h
//  XYFMApp
//
//  Created by 岁变 on 16/8/31.
//  Copyright © 2016年 岁变. All rights reserved.
//

#import <UIKit/UIKit.h>
@class BaseCollectionView;
@class DiscoverTopPageBar;
@protocol TopPageBarDelegate <NSObject>

- (void)didClickItemindexPath:(NSIndexPath *)indexPath PageBar:(DiscoverTopPageBar *)pageBar;


@end

@interface DiscoverTopPageBar : UIView

- (instancetype)initWithFrame:(CGRect)frame withTitleArr:(NSArray *)arr;

@property (nonatomic, assign) id <TopPageBarDelegate> delegate;
@property (nonatomic, strong) BaseCollectionView *collectionView;
@property (nonatomic, strong) UIView *redLineView;

@end
